<?php
$dsn = 'sqlite:auth.db';
$options = [
    PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
];

try {
    $pdo = new PDO($dsn, null, null, $options);
} catch (PDOException $e) {
    die("无法连接到数据库 $dsn :" . $e->getMessage());
}
?>
